<script>
// 顶部tab+页面切换
// 互动雷达
import { defineComponent } from 'vue'
export default defineComponent({
	name: 'WeworkQr'
})
</script>
<script setup>
import { ref } from 'vue'
import { toRaw } from '@vue/reactivity'
import LinkedTables from './interactiveradar/enterpriseRadar/linkedTables.vue'
import PersonalRadar from './interactiveradar/personalRadar.vue'
// import EditQr from './list/editQr.vue'
const dialogVisible = ref(false)
const module = ref('LinkedTables')

const editQr = ref(null)
// const showEdit = (val) => {
// 	if (val) {
// 		editQr.value.show(toRaw(val).id)
// 	}
// 	dialogVisible.value = true
// }
</script>
<template>
	<div>
		<div v-if="!dialogVisible">
			<!-- <div class="app-tab app-tab-margin-top">
				<div
					@click="module = 'EnterpriseRadar'"
					:class="module == 'EnterpriseRadar' ? 'app-tab-item-active' : 'app-tab-item'"
				>
					企业雷达
				</div>
				<div
					@click="module = 'PersonalRadar'"
					:class="module == 'PersonalRadar' ? 'app-tab-item-active' : 'app-tab-item'"
				>
					个人雷达
				</div>
			</div> -->

			<LinkedTables v-if="module == 'LinkedTables'"></LinkedTables>

			<PersonalRadar v-else></PersonalRadar>
		</div>
		<!-- <EditQr ref="editQr" @goBack="dialogVisible=false" /> -->
	</div>
</template>
<style lang="scss">
@import url('../../../style/app-component.scss');
@import '../../../style/mixin.scss';
</style>
